package com.itheima.app;

import com.itheima.dao.OrderDao;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test_exe04 {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("exe04-application-order.xml");
        OrderDao orderDao = (OrderDao) app.getBean("orderDao");
        orderDao.save();


    }
}
